package com.pangus.toolkits.files.errors.check;

import lombok.Getter;

import java.io.IOException;

/**
 * @author yingheng chen
 * @description
 * @date 2019/12/3
 */

public class HttpException extends IOException {
    @Getter
    private int code;

    public HttpException(int code) {
        this.code = code;
    }

    public HttpException(int code, String message) {
        super(message);
        this.code = code;
    }


    public HttpException(int code, String message, Exception e) {
        super(message, e);
        this.code = code;
    }
}
